POV-Ray : Newsgroups : povray.newusers : Refraction in transparent objects? : Re: Refraction in transparent objects? Server Time
14 Aug 2024 11:18:33 EDT (-0400)
  Re: Refraction in transparent objects?  
From: Tim Gosnell
Date: 15 Jun 2000 13:59:40
Message: <3949198D.61B344B5@lanl.gov>
Nevermind!

That's what objects at infinity do!


Tim Gosnell wrote:

> Glass lover POVers:
>
> I'm a new user (Mac OS) as of yesterday and I'm already encountering
> what I think are nonphysical effects.
>
> I have a scene comprising a simple horizon and a glass box with ior=1.5.
> The top of the box  is tilted by 30 degrees toward the horizon. When
> viewing the horizon through the box, the horizon line should shift
> relative to the horizon line outside the box. But what results is no
> shift at all. All the internal reflections and such are present (through
> use of the finish modifier). Here's the code:
>
> #include "colors.inc"
>
>  camera {
>   location <0, 1, -5>
>   look_at  <0, 0,  5>
>  }
>
> box {
>  <-1,0,0>, <1,3,.5>
>  pigment { Clear }
>  finish {       ambient 0       diffuse 0       reflection .1
> specular 1       roughness .001    }
>  interior{ior 1.5}
>  rotate x*30
> }
>
>  plane {
>  y, 0
>  pigment{ checker color White color Blue}
> }
>
> plane { y,500
>  pigment {color Cyan}
>
> }
> light_source { <0, 2, 3> color White}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.